package cn.bdqn.dao.contract;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.pojo.Contract;

public interface ContractMapper {
		//查询合同数量
		public int getCount();
		//分页显示
		public List<Contract> getContractList(@Param("contract_number")String contract_number,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
		//新增用户合同信息
		public int addContractList(Contract contract);
		//根据id查询用户合同信息
		public Contract selectContractList(Integer id);
		//修改用户合同信息
		public Integer updateContractList(Contract contract);
		//根据id删除合同
		public int deleteById(int id);
		//根据id查询合同信息
		public Contract selectById(int id);
		
}
